package com.dailyblue.java.standard.thread.method;

public class ThreadD extends Thread{

    private MethodD md;

    public ThreadD(MethodD md) {
        this.md = md;
    }

    @Override
    public void run() {
        md.add();
    }
}
